#4.定义一个商品类 要求有商品名称name  价格price 描述desc 三个对象属性  并创建两个商品对象
class Product():
    def __init__(self,name,price,desc):
        self.name = name
        self.price = price
        self.desc = desc
    def sell(self):
        print("{}打八折出售价格为{}".format(self.name,self.price*0.8))
if __name__ == '__main__':
    goods1 = Product("牛仔裤",56,"好看")
    goods2 = Product("连衣裙",89,"青春洋溢")
    goods1.sell()
    goods2.sell()